package hn.sigit.view;

import hn.sigit.logic.security.IAuthenticator;

import org.jboss.seam.annotations.AutoCreate;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;

@Name("proxy")
@AutoCreate
public class Proxy {
	@In(create=true)
	private IAuthenticator authenticator;
	
	public String getText() {
		return "PROXY: " + authenticator.getText();
	}
	
	public void testWait(long millis) {
		try {
			Thread.sleep(millis);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
